package com.happyabc.startertest.controller;

import com.happyabc.starter.ExecutionTipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author littlelion
 */
@RestController
public class ExecutionTipController {
    @Autowired
    ExecutionTipService executionTipService;

    @GetMapping("hello")
    public String hello() {
        return executionTipService.addExecutionTip(" happyabc ");
    }
}
